import Vue from 'vue'
import Router from 'vue-router'
import routes from './routes'
Vue.use(Router);
export default new Router({
  mode:"history",
  scrollBehavior:()=>{
    return {
      y:0
    }
  },
  routes
})